SFWeapon.SFShockBeam

00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
//=============================================================================
// Spatial Fear
// Class: SFShockBeam
// Descripton: Implements the shock wave that is emitted from the Ultra Sonic's
//				primary fire action.
//
// Author: Markus Nuebel
//=============================================================================

class SFShockBeam extends ShockBeam;

//#exec TEXTURE IMPORT NAME=sfenergy FILE=Textures\USRBeam7.pcx GROUP=Effects FLAGS=2
#exec MESHMAP SETTEXTURE MESHMAP=Shockbm NUM=1 TEXTURE=k_GorillaTex.fx.usrbeam

simulated function PostBeginPlay()
{
	if ( Level.NetMode != NM_DedicatedServer )
		SetTimer(0.05, false);
}


simulated function Timer()
{
	local ShockBeam r;

	if (NumPuffs>0)
	{
		r = Spawn(class'SFShockBeam',,,Location+MoveAmount);
		r.RemoteRole = ROLE_None;
		r.NumPuffs = NumPuffs -1;
		r.MoveAmount = MoveAmount;
	}
}

defaultproperties
{
     LifeSpan=0.170000
     Style=STY_Modulated
     Texture=Texture'k_GorillaTex.FX.USRBeam'
}

class file time: 12/7/2003 3:58:26 PM - creation time: 12/7/2003 4:03:45 PM
Created with UnCodeX